﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Default.Master" AutoEventWireup="true" CodeBehind="AddPlayers.aspx.cs" Inherits="App.AddPlayers" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="ContentPlaceHolder1" runat="server">
    <asp:Panel ID="Panel1" runat="server">
        
        <asp:Repeater ID="RepeaterUsers" runat="server">
            <HeaderTemplate>
               <h1>Přihlášení hráči:</h1>
            </HeaderTemplate>
            <ItemTemplate>
                <div class="detailTeam">
                    <ajaxToolkit:Gravatar ID="ImageAvatar3" runat="server" DefaultImageBehavior="Identicon" Email="<%#GetMemberEmail(Container.DataItem)%>" DefaultImage="<%#GetMemberAvatar(Container.DataItem)%>" CssClass="detailTeamAvatar"/><!-- jenom pro potreby nastylovani -->
                    <div class="detailRequest">
                        <span>
                            <asp:LinkButton ID="LinkButtonUserInfo" runat="server" CommandArgument='<%#GetUserID(Container.DataItem)%>' OnClick="LinkButtonUserInfo_Click"><%#GetUserNick(Container.DataItem)%></asp:LinkButton>
                        </span>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
        <br />
        <br />
        <asp:Repeater ID="RepeaterAddUsers" runat="server">
            <HeaderTemplate>
                <h1>Nepřihlášení hráči:</h1>
            </HeaderTemplate>
            <ItemTemplate>
                <div class="detailTeam">
                    <ajaxToolkit:Gravatar ID="ImageAvatar3" runat="server" DefaultImageBehavior="Identicon" Email="<%#GetMemberEmail2(Container.DataItem)%>" DefaultImage="<%#GetMemberAvatar2(Container.DataItem)%>" CssClass="detailTeamAvatar"/><!-- jenom pro potreby nastylovani -->
                    <div class="detailRequest">
                        <span>
                            <asp:LinkButton ID="LinkButtonUserInfo" runat="server" CommandArgument='<%#Eval("UserID")%>' OnClick="LinkButtonUserInfo_Click"><%#GetUserNickA(Container.DataItem)%></asp:LinkButton>
                        </span>
                        <asp:LinkButton ID="LinkButtonAdd" runat="server" CommandArgument='<%#Eval("UserID")%>' OnClick="LinkButtonAdd_Click">připsat na akci</asp:LinkButton>
                    </div>
                </div>
            </ItemTemplate>
        </asp:Repeater>
    </asp:Panel>
</asp:Content>
